package com.boilermaker.lotterysystem.controller.vo;

import com.boilermaker.lotterysystem.service.enums.ActivityPrizeTiersEnum;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ActivityDetailVO implements Serializable {

    private Long activityId;

    private String activityName;

    private String description;

    private Boolean valid;

    private List<Prize> prizes;

    private List<User> users;

    @Data
    public static class Prize {

        private Long prizeId;

        private String name;

        private String imageUrl;

        private BigDecimal price;

        private String description;

        private String prizeTierName;

        private Long prizeAmount;

        private Boolean valid; // 该奖品是否未被抽完
    }

    @Data
    public static class User {

        private Long userId;

        private String userName;

        private Boolean valid; // 该人员是否已参与抽奖动作
    }
}
